<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0,viewport-fit=cover"><title>archlinux | 学习笔记</title><meta name="author" content="lzoxun"><meta name="copyright" content="lzoxun"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="下载国内镜像 安装进入配置环境 虚拟机安装 真假安装 win 有直接制作 U 盘启动, linux:dd bs&#x3D;4M if&#x3D;xxx.iso of&#x3D;&#x2F;dev&#x2F;dexxxx(U盘位置) status&#x3D;progress(看到输出信息) &amp;&amp; sync   配置好后选择 option -&gt; 高级 -&gt; 从 BIOS 转 UEFI  配置与测试 检测是否为UEFI模式：ls &#x2F;s">
<meta property="og:type" content="article">
<meta property="og:title" content="archlinux">
<meta property="og:url" content="http://example.com/2023/07/22/linux/linux-archlinux/index.html">
<meta property="og:site_name" content="学习笔记">
<meta property="og:description" content="下载国内镜像 安装进入配置环境 虚拟机安装 真假安装 win 有直接制作 U 盘启动, linux:dd bs&#x3D;4M if&#x3D;xxx.iso of&#x3D;&#x2F;dev&#x2F;dexxxx(U盘位置) status&#x3D;progress(看到输出信息) &amp;&amp; sync   配置好后选择 option -&gt; 高级 -&gt; 从 BIOS 转 UEFI  配置与测试 检测是否为UEFI模式：ls &#x2F;s">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://i.loli.net/2021/02/24/5O1day2nriDzjSu.png">
<meta property="article:published_time" content="2023-07-22T07:14:09.679Z">
<meta property="article:modified_time" content="2023-07-22T07:14:09.679Z">
<meta property="article:author" content="lzoxun">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://i.loli.net/2021/02/24/5O1day2nriDzjSu.png"><link rel="shortcut icon" href="/img/favicon.png"><link rel="canonical" href="http://example.com/2023/07/22/linux/linux-archlinux/index.html"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox/fancybox.min.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = {
  root: '/',
  algolia: undefined,
  localSearch: {"path":"/search.xml","preload":true,"top_n_per_article":1,"unescape":true,"languages":{"hits_empty":"找不到您查询的内容：${query}","hits_stats":"共找到 ${hits} 篇文章"}},
  translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"簡"},
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '',
  dateSuffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: undefined,
  lightbox: 'fancybox',
  Snackbar: {"chs_to_cht":"你已切换为繁体","cht_to_chs":"你已切换为简体","day_to_night":"你已切换为深色模式","night_to_day":"你已切换为浅色模式","bgLight":"#49b1f5","bgDark":"#1f1f1f","position":"bottom-left"},
  source: {
    justifiedGallery: {
      js: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.js',
      css: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.css'
    }
  },
  isPhotoFigcaption: false,
  islazyload: true,
  isAnchor: false,
  percent: {
    toc: true,
    rightside: false,
  },
  autoDarkmode: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
  title: 'archlinux',
  isPost: true,
  isHome: false,
  isHighlightShrink: false,
  isToc: true,
  postUpdate: '2023-07-22 15:14:09'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
    win.getCSS = (url,id = false) => new Promise((resolve, reject) => {
      const link = document.createElement('link')
      link.rel = 'stylesheet'
      link.href = url
      if (id) link.id = id
      link.onerror = reject
      link.onload = link.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        link.onload = link.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(link)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          const now = new Date()
          const hour = now.getHours()
          const isNight = hour <= 6 || hour >= 18
          if (t === undefined) isNight ? activateDarkMode() : activateLightMode()
          else if (t === 'light') activateLightMode()
          else activateDarkMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    
    const detectApple = () => {
      if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
        document.documentElement.classList.add('apple')
      }
    }
    detectApple()
    })(window)</script><meta name="generator" content="Hexo 6.3.0"></head><body><div id="loading-box"><div class="loading-left-bg"></div><div class="loading-right-bg"></div><div class="spinner-box"><div class="configure-border-1"><div class="configure-core"></div></div><div class="configure-border-2"><div class="configure-core"></div></div><div class="loading-word">加载中...</div></div></div><script>(()=>{
  const $loadingBox = document.getElementById('loading-box')
  const $body = document.body
  const preloader = {
    endLoading: () => {
      $body.style.overflow = ''
      $loadingBox.classList.add('loaded')
    },
    initLoading: () => {
      $body.style.overflow = 'hidden'
      $loadingBox.classList.remove('loaded')
    }
  }

  preloader.initLoading()
  window.addEventListener('load',() => { preloader.endLoading() })

  if (false) {
    document.addEventListener('pjax:send', () => { preloader.initLoading() })
    document.addEventListener('pjax:complete', () => { preloader.endLoading() })
  }
})()</script><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src= "" data-lazy-src="https://i.loli.net/2021/02/24/5O1day2nriDzjSu.png" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="sidebar-site-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">108</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">1</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">0</div></a></div><hr class="custom-hr"/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div></div></div></div><div class="post" id="body-wrap"><header class="post-bg" id="page-header"><nav id="nav"><span id="blog-info"><a href="/" title="学习笔记"><span class="site-name">学习笔记</span></a></span><div id="menus"><div id="search-button"><a class="site-page social-icon search" href="javascript:void(0);"><i class="fas fa-search fa-fw"></i><span> 搜索</span></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div></div><div id="toggle-menu"><a class="site-page" href="javascript:void(0);"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="post-info"><h1 class="post-title">archlinux</h1><div id="post-meta"><div class="meta-firstline"><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2023-07-22T07:14:09.679Z" title="发表于 2023-07-22 15:14:09">2023-07-22</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2023-07-22T07:14:09.679Z" title="更新于 2023-07-22 15:14:09">2023-07-22</time></span></div><div class="meta-secondline"><span class="post-meta-separator">|</span><span class="post-meta-pv-cv" id="" data-flag-title="archlinux"><i class="far fa-eye fa-fw post-meta-icon"></i><span class="post-meta-label">阅读量:</span><span id="busuanzi_value_page_pv"><i class="fa-solid fa-spinner fa-spin"></i></span></span></div></div></div></header><main class="layout" id="content-inner"><div id="post"><article class="post-content" id="article-container"><p><a target="_blank" rel="noopener" href="https://wiki.archlinux.org/">下载</a><br><a target="_blank" rel="noopener" href="http://mirrors.163.com/archlinux/iso/2021.06.01/">国内镜像</a></p>
<h2 id="安装"><a href="#安装" class="headerlink" title="安装"></a>安装</h2><h3 id="进入配置环境"><a href="#进入配置环境" class="headerlink" title="进入配置环境"></a>进入配置环境</h3><ul>
<li>虚拟机安装</li>
<li>真假安装 win 有直接制作 U 盘启动,<ul>
<li>linux:<code>dd bs=4M if=xxx.iso of=/dev/dexxxx(U盘位置) status=progress(看到输出信息) &amp;&amp; sync</code></li>
</ul>
</li>
<li>配置好后选择 option -&gt; 高级 -&gt; 从 BIOS 转 UEFI</li>
</ul>
<h3 id="配置与测试"><a href="#配置与测试" class="headerlink" title="配置与测试"></a>配置与测试</h3><ul>
<li>检测是否为<code>UEFI</code>模式：<code>ls /sys/firmware/efi/efivars</code></li>
<li>真机如果没网通过 <code>wifi-menu</code> 链接 wifi</li>
<li>检测是否联网:<code>ping www.baidu.com</code></li>
<li>设置时钟：<code>timedatectl set-ntp true</code></li>
<li>设置源:<code>/etc/pacman.d/mirrorlist</code>(把国内或是块的放到前面)</li>
<li>查看磁盘:<code>lsblk</code></li>
<li>分区:<code>cfdisk</code>图形界面配置<ul>
<li>进入<code>gpt</code></li>
<li>上下贯标定位在<code>Free space</code>上,限制下面<code>new</code>按钮输入大小(10G、300M)等</li>
<li>新建根目录 sda1、家目录 sda2、EFI 目录 sda3(新建需选择进入 type,选择 EFI System)、生下的建 swap(type,选择 Linux swap)</li>
<li>设置完成进入 write - yes 回车</li>
<li><code>lsblk|fdisk</code>查看状态</li>
</ul>
</li>
<li>格式化<ul>
<li>格式化根目录：<code>mkfs.ext4 /dev/sda1</code></li>
<li>格式化家目录：<code>mkfs.ext4 /dev/sda2</code></li>
<li>格式化 EFI：<code>mkfs.vfat /dev/sda3</code></li>
<li>格式化 swap：<code>mkswap -f /dev/sda4</code><ul>
<li><code>swapon /dev/sda4</code></li>
</ul>
</li>
</ul>
</li>
<li>挂载目录<ul>
<li>mkdir &#x2F;mnt&#x2F;home</li>
<li>mkdir -p &#x2F;mnt&#x2F;boot&#x2F;EFI</li>
<li>挂载根目录：<code>mount /dev/sda1 /mnt</code></li>
<li>挂载家目录：<code>mount /dev/sda2 /mnt/home</code></li>
<li>挂载 EFI：<code>mount /dev/sda3 /mnt/boot</code></li>
</ul>
</li>
<li><h2 id="安装软件-基础软件：pacstrap-mnt-base-开发相关包：pacstrap-mnt-base-devel"><a href="#安装软件-基础软件：pacstrap-mnt-base-开发相关包：pacstrap-mnt-base-devel" class="headerlink" title="安装软件-   基础软件：pacstrap /mnt base-   开发相关包：pacstrap /mnt base-devel"></a>安装软件<br>-   基础软件：<code>pacstrap /mnt base</code><br>-   开发相关包：<code>pacstrap /mnt base-devel</code></h2><ul>
<li>(新)基础软件：<code>pacstrap /mnt base base-devel linux linux-firmware</code> #base-devel 在 AUR 包的安装是必须的</li>
<li>(新)功能性软件:<code>pacstrap /mnt dhcpcd iwd vim sudo bash-completion</code> #一个有线所需 一个无线所需 一个编辑器 一个提权工具 一个补全工具 iwd 也需要 dhcpcd</li>
</ul>
</li>
<li>生成 fstab：<code>genfstab -U /mnt &gt;&gt; /mnt/etc/fstab</code>(保存挂载)</li>
<li>确认是否生成:<code>cat /mnt/etc/fstab</code></li>
<li>将系统切换到刚刚安装的环境：<code>arch-chroot /mnt</code></li>
</ul>
<h3 id="进入系统配置"><a href="#进入系统配置" class="headerlink" title="进入系统配置"></a>进入系统配置</h3><ul>
<li>配置时区：<code>ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime</code></li>
<li>设置时间:<code>hwclock --systohc</code></li>
<li>安装 VIM：<code>pacman -S vim</code></li>
<li>设置语言: <code>vim /etc/locale.gen</code> 打开<code>zh_CN.UTF8 UTF8</code>,<code>en_US.UTF-8 UTF-8</code><ul>
<li>查看 <code>locale-gen</code></li>
<li>生成 locale <code>bashlocale-gen</code>.这个好像没有用</li>
<li>设置到配置文件中：<code>echo &quot;LANG=&#39;zh_CN.UTF-8&#39;&quot;</code> &gt; &#x2F;etc&#x2F;locale.conf</li>
</ul>
</li>
<li>安装一下网络相关的包:(可省略)<ul>
<li><code>pacman -S iw wpa_supplicant dialog</code></li>
<li>测试联网：<code>ping www.baidu.com</code></li>
</ul>
</li>
<li>设置 root 密码<ul>
<li>直接<code>passwd</code></li>
</ul>
</li>
<li>安装微码<ul>
<li><code>pacman -S intel-ucode</code> #Intel</li>
<li><code>pacman -S amd-ucode </code> #AMD</li>
</ul>
</li>
<li>安装引导程序：<code>pacman -S grub efibootmgr</code><ul>
<li>执行 <code>grub-install --target=x86_64-efi --efi-directory=/boot/EFI --bootloader-id=grub</code></li>
<li>(新) <code>grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB</code></li>
<li><code>vim /etc/default/grub</code> 去掉<code>GRUB_CMDLINE_LINUX_DEFAULT</code>的 quite，并且把 3 改成，后期方便排错</li>
<li>配置 <code>grub-mkconfig -o /boot/grub/grub.cfg</code></li>
<li><code>mkdir -p /boot/EFI/BOOT</code></li>
<li><code>mv /boot/EFI/GRUB/grubx64.efi /boot/EFI/BOOT/BOOTX64.EFI</code></li>
</ul>
</li>
<li>退出 exit 环境：<code>exit</code></li>
<li>卸载&#x2F;mnt：<code>umount -R /mnt</code></li>
<li>重启 reboot</li>
</ul>
<h2 id="进入系统"><a href="#进入系统" class="headerlink" title="进入系统"></a>进入系统</h2><h3 id="开启网络"><a href="#开启网络" class="headerlink" title="开启网络"></a>开启网络</h3><ul>
<li><code>echo &quot;interface=eth0&quot; &gt;&gt; /etc/rc.conf</code></li>
<li>执行:<code>dhcpcd</code></li>
<li><code>systemctl enable dhcpcd.servece</code> 设置开机自启</li>
</ul>
<h3 id="新建用户"><a href="#新建用户" class="headerlink" title="新建用户"></a>新建用户</h3><ul>
<li><code>useradd -m -g uesrs -G wheel lzoxun</code>:指定组为了提权</li>
<li><code>EDITOR=vim visudo</code>:编辑 sudo 配置文件,将 wheel 的注释去掉<ul>
<li>%wheel ALL&#x3D;(ALL) ALL:<ul>
<li>1、</li>
<li>2、</li>
<li>3、这个组里的成员可以执行任意命令</li>
</ul>
</li>
</ul>
</li>
</ul>
<h3 id="安装-KDE-桌面"><a href="#安装-KDE-桌面" class="headerlink" title="安装 KDE 桌面"></a>安装 KDE 桌面</h3><ul>
<li><p>必要工具:<code>pacman -S plasma-meta konsole dolphin bash-completion</code></p>
<ul>
<li>桌面环境</li>
<li>终端</li>
<li>文件管理器</li>
<li>命令行补全工具</li>
</ul>
</li>
<li><p>开启 sddm（开机欢迎界面）</p>
<ul>
<li><code>systemctl enable sddm</code></li>
</ul>
</li>
<li><p>设置源</p>
<ul>
<li><code>vim /etc/pacman.conf</code></li>
<li>开启 multilib</li>
<li>添加<br>[archlinuxcn]<br>SigLevel &#x3D; Optional TrustAll<br>Server &#x3D; <a target="_blank" rel="noopener" href="https://mirrors.ustc.edu.cn/archlinuxcn/$arch">https://mirrors.ustc.edu.cn/archlinuxcn/$arch</a></li>
<li><code>pacman -Syyu</code> 更新</li>
</ul>
</li>
<li><p>安装必要工具</p>
<ul>
<li>识别第三方 ntfs 移动盘:<code>ntfs-3g</code></li>
<li>开源字体<ul>
<li><code>pacman -S adobe-source-han-serif-cn-fonts wqy-zenhei</code></li>
<li><code>sudo pacman -S noto-fonts noto-fonts-cjk noto-fonts-emoji noto-fonts-extra</code>谷歌字体</li>
<li><code>sudo pacman -S wqy-microhei wqy-microhei-lite wqy-zenhei wqy-bitmapfont noto-fonts-cjk</code></li>
</ul>
</li>
<li>浏览器<ul>
<li><code>firefox chromium</code></li>
</ul>
</li>
<li>yay(aur 用户上传的包)<ul>
<li><code>sudo pacman -S archlinuxcn-keyring</code></li>
<li>再装<code>yay</code></li>
</ul>
</li>
<li>kde</li>
</ul>
</li>
<li><p>设置中文</p>
<ul>
<li>setting -&gt; system settings -&gt; Regional settings 添加中文，拉倒最前 apply，重启</li>
<li>.pam_environment 添加<code>LC_ALL=zh_CN.UTF-8</code>更完全的汉化</li>
</ul>
</li>
<li><p>安装输入法</p>
<ul>
<li>输入法: <code>sudo pacman -S fcitx5-im</code></li>
<li>安装引擎: <code>sudo pacman -S fcitx5-chinese-addons</code></li>
<li>安装词库: <code>sudo pacman -S fcitx5-pinyin-moegirl</code>或搜狗</li>
<li>安装皮肤: <code>sudo pacman -S fcitx5-material-color</code></li>
<li>到设置语言的地方进入输入法进行添加<br>xxxx</li>
<li>开机启动，键盘添加拼音</li>
</ul>
</li>
</ul>
<h3 id="美化"><a href="#美化" class="headerlink" title="美化"></a>美化</h3><ul>
<li>安装主题 <code>Layan</code></li>
<li>欢迎屏幕 <code>miku</code></li>
<li>任务栏插件</li>
<li>系统设置-显示监控-混成器 选 2.0</li>
<li>latte-dock</li>
</ul>
<h2 id="软件包"><a href="#软件包" class="headerlink" title="软件包"></a>软件包</h2><ul>
<li>查看版本:<code>neofetch</code></li>
<li>加网速:<code>proxychains-ng</code><ul>
<li>配置文件 <code>/etc/proxychains.conf</code></li>
<li>通过代理打开系统设置:<code>proxychains systemsettings5</code></li>
</ul>
</li>
</ul>
<h2 id="问题"><a href="#问题" class="headerlink" title="问题"></a>问题</h2><h3 id="虚拟机全屏"><a href="#虚拟机全屏" class="headerlink" title="虚拟机全屏"></a>虚拟机全屏</h3><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta prompt_"># </span><span class="language-bash">sudo pacman -S open-vm-tools</span></span><br><span class="line"><span class="meta prompt_"># </span><span class="language-bash">sudo pacman -S gtkmm</span></span><br><span class="line"><span class="meta prompt_"># </span><span class="language-bash">sudo pacman -S xf86-video-vmware</span></span><br><span class="line"><span class="meta prompt_"># </span><span class="language-bash">sudo pacman -S xf86-input-vmmouse</span></span><br><span class="line"><span class="meta prompt_"># </span><span class="language-bash">systemctl <span class="built_in">enable</span> vmtoolsd</span></span><br></pre></td></tr></table></figure>

<h3 id=""><a href="#" class="headerlink" title=""></a></h3><ul>
<li>命令行打开图像界面文件夹</li>
<li>截图软件 flameshot</li>
<li>wine 测试</li>
</ul>
<h2 id="新机"><a href="#新机" class="headerlink" title="新机"></a>新机</h2><h3 id="我的程序"><a href="#我的程序" class="headerlink" title="我的程序"></a>我的程序</h3><ul>
<li><code>yay -S konsole dolphin bash-completion</code></li>
<li><code>yay -S copyq chromium visual-studio-code-bin filezilla latte-dock cifs-utils netease-cloud-music flameshot</code></li>
<li><code>yay -S lazygit ranger tmux neofetch fzf node-fanyi conky</code></li>
<li>需要添加配置程序<ul>
<li><code>autojump</code></li>
<li><code>nvm</code></li>
</ul>
</li>
</ul>
<h3 id="我的-kde-快捷键"><a href="#我的-kde-快捷键" class="headerlink" title="我的 kde 快捷键"></a>我的 kde 快捷键</h3><ul>
<li><p>应用程序</p>
<ul>
<li><code>Meta(win建) + Shift + P</code> : copyq 剪切板保存工具</li>
<li><code>Meta + Shift + C</code> : vscode</li>
<li><code>Meta + Shift + O</code>: 文件窗口 dolphin</li>
<li><code>Meta + Shift + T</code>: 终端 konsole</li>
<li><code>Meta + Shift + F</code>: FTP filezilla</li>
<li><code>Meta + Shift + W</code>: 网易云</li>
</ul>
</li>
<li><p>系统</p>
<ul>
<li><code>Alt + F1</code>：菜单</li>
<li><code>Alt + F2</code>：系统设置</li>
<li><code>Meta + F</code> : Krunner 全局搜索</li>
<li><code>Meta + .</code>: Emoji 图标</li>
<li><code>Ctrl + Esc</code> : 系统服务</li>
</ul>
</li>
<li><p>其他</p>
<ul>
<li>latte Dock(Alt + 1~9)</li>
</ul>
</li>
</ul>
<h1 id="-1"><a href="#-1" class="headerlink" title=""></a></h1></article><div class="post-copyright"><div class="post-copyright__author"><span class="post-copyright-meta">文章作者: </span><span class="post-copyright-info"><a href="http://example.com">lzoxun</a></span></div><div class="post-copyright__type"><span class="post-copyright-meta">文章链接: </span><span class="post-copyright-info"><a href="http://example.com/2023/07/22/linux/linux-archlinux/">http://example.com/2023/07/22/linux/linux-archlinux/</a></span></div><div class="post-copyright__notice"><span class="post-copyright-meta">版权声明: </span><span class="post-copyright-info">本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a> 许可协议。转载请注明来自 <a href="http://example.com" target="_blank">学习笔记</a>！</span></div></div><div class="tag_share"><div class="post-meta__tag-list"></div><div class="post_share"><div class="social-share" data-image="https://i.loli.net/2021/02/24/5O1day2nriDzjSu.png" data-sites="facebook,twitter,wechat,weibo,qq"></div><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/butterfly-extsrc/sharejs/dist/css/share.min.css" media="print" onload="this.media='all'"><script src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/sharejs/dist/js/social-share.min.js" defer></script></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-left"><a href="/2023/07/22/idea/idea-wechat/" title="微信开发者工具"><div class="cover" style="background: var(--default-bg-color)"></div><div class="pagination-info"><div class="label">上一篇</div><div class="prev_info">微信开发者工具</div></div></a></div><div class="next-post pull-right"><a href="/2023/07/22/linux/linux-centos/" title="centos 安装 配置 使用"><div class="cover" style="background: var(--default-bg-color)"></div><div class="pagination-info"><div class="label">下一篇</div><div class="next_info">centos 安装 配置 使用</div></div></a></div></nav></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src= "" data-lazy-src="https://i.loli.net/2021/02/24/5O1day2nriDzjSu.png" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">lzoxun</div><div class="author-info__description"></div></div><div class="card-info-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">108</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">1</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">0</div></a></div><a id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/liaozhongxun"><i class="fab fa-github"></i><span>Follow Me</span></a><div class="card-info-social-icons is-center"><a class="social-icon" href="https://github.com/liaozhongxun" target="_blank" title="Github"><i class="fab fa-github" style="color: #24292e;"></i></a><a class="social-icon" href="mailto:869664233@gmail.com" target="_blank" title="Email"><i class="fas fa-envelope" style="color: #4a7dbe;"></i></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn fa-shake"></i><span>公告</span></div><div class="announcement_content">这是我的文档</div></div><div class="sticky_layout"><div class="card-widget" id="card-toc"><div class="item-headline"><i class="fas fa-stream"></i><span>目录</span><span class="toc-percentage"></span></div><div class="toc-content"><ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#%E5%AE%89%E8%A3%85"><span class="toc-number">1.</span> <span class="toc-text">安装</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#%E8%BF%9B%E5%85%A5%E9%85%8D%E7%BD%AE%E7%8E%AF%E5%A2%83"><span class="toc-number">1.1.</span> <span class="toc-text">进入配置环境</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E9%85%8D%E7%BD%AE%E4%B8%8E%E6%B5%8B%E8%AF%95"><span class="toc-number">1.2.</span> <span class="toc-text">配置与测试</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E5%AE%89%E8%A3%85%E8%BD%AF%E4%BB%B6-%E5%9F%BA%E7%A1%80%E8%BD%AF%E4%BB%B6%EF%BC%9Apacstrap-mnt-base-%E5%BC%80%E5%8F%91%E7%9B%B8%E5%85%B3%E5%8C%85%EF%BC%9Apacstrap-mnt-base-devel"><span class="toc-number">2.</span> <span class="toc-text">安装软件-   基础软件：pacstrap &#x2F;mnt base-   开发相关包：pacstrap &#x2F;mnt base-devel</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#%E8%BF%9B%E5%85%A5%E7%B3%BB%E7%BB%9F%E9%85%8D%E7%BD%AE"><span class="toc-number">2.1.</span> <span class="toc-text">进入系统配置</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E8%BF%9B%E5%85%A5%E7%B3%BB%E7%BB%9F"><span class="toc-number">3.</span> <span class="toc-text">进入系统</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%BC%80%E5%90%AF%E7%BD%91%E7%BB%9C"><span class="toc-number">3.1.</span> <span class="toc-text">开启网络</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E6%96%B0%E5%BB%BA%E7%94%A8%E6%88%B7"><span class="toc-number">3.2.</span> <span class="toc-text">新建用户</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%AE%89%E8%A3%85-KDE-%E6%A1%8C%E9%9D%A2"><span class="toc-number">3.3.</span> <span class="toc-text">安装 KDE 桌面</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E7%BE%8E%E5%8C%96"><span class="toc-number">3.4.</span> <span class="toc-text">美化</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E8%BD%AF%E4%BB%B6%E5%8C%85"><span class="toc-number">4.</span> <span class="toc-text">软件包</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E9%97%AE%E9%A2%98"><span class="toc-number">5.</span> <span class="toc-text">问题</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#%E8%99%9A%E6%8B%9F%E6%9C%BA%E5%85%A8%E5%B1%8F"><span class="toc-number">5.1.</span> <span class="toc-text">虚拟机全屏</span></a></li><li class="toc-item toc-level-3"><a class="toc-link"><span class="toc-number">5.2.</span> <span class="toc-text"></span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E6%96%B0%E6%9C%BA"><span class="toc-number">6.</span> <span class="toc-text">新机</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#%E6%88%91%E7%9A%84%E7%A8%8B%E5%BA%8F"><span class="toc-number">6.1.</span> <span class="toc-text">我的程序</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E6%88%91%E7%9A%84-kde-%E5%BF%AB%E6%8D%B7%E9%94%AE"><span class="toc-number">6.2.</span> <span class="toc-text">我的 kde 快捷键</span></a></li></ol></li></ol></li><li class="toc-item toc-level-1"><a class="toc-link" href="#-1"><span class="toc-number"></span> <span class="toc-text"></span></a></div></div><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2023/07/22/window/win-11/" title="win 11 set">win 11 set</a><time datetime="2023-07-22T07:14:09.700Z" title="发表于 2023-07-22 15:14:09">2023-07-22</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2023/07/22/window/win-gitbash/" title="git bash">git bash</a><time datetime="2023-07-22T07:14:09.700Z" title="发表于 2023-07-22 15:14:09">2023-07-22</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2023/07/22/window/win-wsl/" title="wsl">wsl</a><time datetime="2023-07-22T07:14:09.700Z" title="发表于 2023-07-22 15:14:09">2023-07-22</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2023/07/22/window/win-main/" title="window">window</a><time datetime="2023-07-22T07:14:09.700Z" title="发表于 2023-07-22 15:14:09">2023-07-22</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2023/07/22/web/%E5%85%BC%E5%AE%B9%E9%97%AE%E9%A2%98/" title="兼容问题">兼容问题</a><time datetime="2023-07-22T07:14:09.699Z" title="发表于 2023-07-22 15:14:09">2023-07-22</time></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">&copy;2020 - 2023 By lzoxun</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="translateLink" type="button" title="简繁转换">繁</button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button class="close" id="mobile-toc-button" type="button" title="目录"><i class="fas fa-list-ul"></i></button><button id="go-up" type="button" title="回到顶部"><span class="scroll-percent"></span><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="/js/tw_cn.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox/fancybox.umd.min.js"></script><script src="https://cdn.jsdelivr.net/npm/instant.page/instantpage.min.js" type="module"></script><script src="https://cdn.jsdelivr.net/npm/vanilla-lazyload/dist/lazyload.iife.min.js"></script><script src="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.js"></script><script>function panguFn () {
  if (typeof pangu === 'object') pangu.autoSpacingPage()
  else {
    getScript('https://cdn.jsdelivr.net/npm/pangu/dist/browser/pangu.min.js')
      .then(() => {
        pangu.autoSpacingPage()
      })
  }
}

function panguInit () {
  if (false){
    GLOBAL_CONFIG_SITE.isPost && panguFn()
  } else {
    panguFn()
  }
}

document.addEventListener('DOMContentLoaded', panguInit)</script><div class="js-pjax"></div><script id="canvas_nest" defer="defer" color="0,0,255" opacity="0.7" zIndex="-1" count="99" mobile="false" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/canvas-nest.min.js"></script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script><div id="local-search"><div class="search-dialog"><nav class="search-nav"><span class="search-dialog-title">搜索</span><span id="loading-status"></span><button class="search-close-button"><i class="fas fa-times"></i></button></nav><div class="is-center" id="loading-database"><i class="fas fa-spinner fa-pulse"></i><span>  数据库加载中</span></div><div class="search-wrap"><div id="local-search-input"><div class="local-search-box"><input class="local-search-box--input" placeholder="搜索文章" type="text"/></div></div><hr/><div class="no-result" id="local-search-results"></div><div id="local-search-stats-wrap"></div></div></div><div id="search-mask"></div><script src="/js/search/local-search.js"></script></div></div><script src="/live2dw/lib/L2Dwidget.min.js?094cbace49a39548bed64abff5988b05"></script><script>L2Dwidget.init({"pluginRootPath":"live2dw/","pluginJsPath":"lib/","pluginModelPath":"assets/","tagMode":false,"log":false,"model":{"jsonPath":"/live2dw/assets/haruto.model.json"},"display":{"position":"right","width":100,"height":200,"right":300},"mobile":{"show":true}});</script></body></html>